ElasticPress\Feature\WooCommerce\WooCommerce D

Total Complexity 146
Dependencies 3
Dependents 1
Total lines 994
Lines of code 553
Logical lines of code 278
Comment lines 325
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
translate_args()
D
22
47 185
should_integrate_with_query()
B
47 17 35
price_filter()
A
48 13 34
search_order()
A
53 9 20
add_order_items_search()
A
54 8 18
whitelist_taxonomies()
S
53 7 23
whitelist_meta_keys()
S
39 1 82
disallow_duplicated_query()
S
63 6 10
maybe_hook_woocommerce_search_fields()
S
62 6 10
add_product_attributes_to_weighting()
S
60 3 13
add_product_default_post_type_weights()
S
61 3 12
convert_post_object_to_id()
S
64 3 11
setup()
S
53 2 20
get_orderby_meta_mapping()
S
58 2 17
blacklist_coupons()
S
70 3 6
add_product_attributes()
S
64 3 10
remove_author()
S
67 3 8
bypass_order_permissions_check()
S
71 2 6
suggest_wc_add_post_type()
S
70 2 6
requirements_status()
S
66 2 8
output_feature_box_summary()
S
75 1 5
output_feature_box_long()
S
75 1 5
shop_order_search_fields()
S
82 1 3
__construct()
S
70 1 6